package services.interfaces;

public class CityTaxAdapter implements ITaxCalculatorAdapter{

	// Adaptee
	CityTax cTax;

	public CityTaxAdapter() {
		cTax = new CityTax();
	}

	@Override
	public double getTaxes(double baseTotal) {
		//Calculate total + tax
		return baseTotal + baseTotal*cTax.getTaxPercent();
	}
	

}